//
//  CollectionCell.m
//  UI20_礼物说
//
//  Created by 石美妮 on 16/1/6.
//  Copyright © 2016年 www.lanou3g.com蓝鸥科技. All rights reserved.
//

#import "CollectionCell.h"

@implementation CollectionCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.img = [[UIImageView alloc] init];
        [self.contentView addSubview:_img];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    _img.frame = CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height);
}
@end
